package com.qr.bean.wmyw;

import java.sql.Timestamp;
import com.baomidou.mybatisplus.annotation.Version;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotNull;
/**
 * @author: zc
 * email: zc8023zs@163.com
 * create_time: 2020/8/13 10:21:02
 * 分离出查询实体
 */
@ApiModel(value = "qr_base_goods", description = "商品库")
@TableName(value = "qr_base_goods")
public class QrBaseGoodsView implements Serializable {
	@ApiModelProperty(value = "商品id")
	@TableId(type = IdType.AUTO,value = "base_goods_id")
	@NotNull(message = "商品id不能为空")
	private Integer base_goods_id;
	@ApiModelProperty(value = "运营中心id")
	@TableField(value="oc_id")
	private Integer oc_id;
	@ApiModelProperty(value = "店铺/门店id")
	@TableField(value="shop_id")
	private Integer shop_id;
	@ApiModelProperty(value = "商品分类")
	@TableField(value="category_id")
	private Integer category_id;
	@ApiModelProperty(value = "商品名称")
	@TableField(value="name")
	private String name;
	@ApiModelProperty(value = "店铺logo")
	@TableField(value="logo")
	private String logo;
	@ApiModelProperty(value = "最小购买量")
	@TableField(value="min_buy")
	private Integer min_buy;
	@ApiModelProperty(value = "单位")
	@TableField(value="unit")
	private String unit;
	@ApiModelProperty(value = "商品简介")
	@TableField(value="intro")
	private String intro;
	@ApiModelProperty(value = "商品详情")
	@TableField(value="description")
	private String description;
	@ApiModelProperty(value = "商品标签")
	@TableField(value="tags")
	private String tags;
	@ApiModelProperty(value = "创建时间")
	@TableField(value="create_time")
	private Timestamp create_time;
	@ApiModelProperty(value = "单点不配送:是=1 否=2")
	@TableField(value="unsend")
	private Integer unsend;
	@ApiModelProperty(value = "数据版本字段")
	@TableField(value="version_id")
	@Version
	private Integer version_id;

 
	public Integer getBase_goods_id() {
		return base_goods_id;
	}
	public void setBase_goods_id(Integer base_goods_id) {
		this.base_goods_id = base_goods_id;
	}
 
	public Integer getOc_id() {
		return oc_id;
	}
	public void setOc_id(Integer oc_id) {
		this.oc_id = oc_id;
	}
 
	public Integer getShop_id() {
		return shop_id;
	}
	public void setShop_id(Integer shop_id) {
		this.shop_id = shop_id;
	}
 
	public Integer getCategory_id() {
		return category_id;
	}
	public void setCategory_id(Integer category_id) {
		this.category_id = category_id;
	}
 
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
 
	public String getLogo() {
		return logo;
	}
	public void setLogo(String logo) {
		this.logo = logo;
	}
 
	public Integer getMin_buy() {
		return min_buy;
	}
	public void setMin_buy(Integer min_buy) {
		this.min_buy = min_buy;
	}
 
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
 
	public String getIntro() {
		return intro;
	}
	public void setIntro(String intro) {
		this.intro = intro;
	}
 
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
 
	public String getTags() {
		return tags;
	}
	public void setTags(String tags) {
		this.tags = tags;
	}
 
	public Timestamp getCreate_time() {
		return create_time;
	}
	public void setCreate_time(Timestamp create_time) {
		this.create_time = create_time;
	}
 
	public Integer getUnsend() {
		return unsend;
	}
	public void setUnsend(Integer unsend) {
		this.unsend = unsend;
	}
 
	public Integer getVersion_id() {
		return version_id;
	}
	public void setVersion_id(Integer version_id) {
		this.version_id = version_id;
	}

}